﻿@model IEnumerable<Hrm.Core.Service>
@{
    ViewBag.Title = "Service";
    Layout = "~/Views/Shared/_FrontLayout.cshtml";
}

<div id="content">
    <section id="topbar">
        <div class="container">
            <div class="row">
                <div class="col-md-6">
                    <h1>我们的服务</h1>
                </div>
                <div class="col-md-6 text-right">
                    <ul class="breadcrumb">
                        <li>
                            <a href="@Url.Action("Index")">首页</a>
                        </li>
                        <li class="active">服务</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>
    <section class="services-preview white-bg mt20">
        <div class="container">
            <div class="row service-panel style1">
                @foreach (var item in Model)
                {
                    <div class="col-md-4">
                        <div class="service-panel-heading">
                            <i class="@item.Glyphicon"></i>
                            <h4>@item.Name</h4>
                        </div>
                        <div class="service-panel-content">
                            <p>@item.Description</p>
                        </div>
                    </div>
                }
            </div>
        </div>
    </section>
    <section class="services-preview gray-lighter-bg">
        <div class="container">
            <div class="row">
                <div class="heading mt30 mb30 text-center">
                    <h3>定价</h3>
                </div>
                @foreach (var priceType in (List<Hrm.Core.PriceType>)ViewBag.PriceService)
                {
                    <div class="col-lg-3 col-md-3 col-sm-6">
                        <div class="pricing-table">
                            <div class="pricing-header">
                                <h3>@priceType.Name</h3>
                            </div>
                            <ul class="list-group">
                                @foreach (var item in priceType.PriceItems)
                                {
                                    <li class="list-group-item"><i class="@item.Glyphicon s24"></i> @item.Name</li>
                                }
                            </ul>
                            <div class="pricing-bottom clearfix">
                                <div class="price">
                                    <span>￥@priceType.Price</span>
                                    / @priceType.Unit
                                    <a href="@Url.Action("Contact")" class="btn btn-danger btn-lg btn-block">现在就联系我们</a>
                                </div>
                            </div>
                        </div>
                    </div>
                }
            </div>
        </div>
    </section>
</div>

@section JavascriptSection{
    
}